import React from 'react'
import {useRoutes,BrowserRouter} from "react-router-dom"
import {routes} from "./router/index"
function App() {
  const El=()=>useRoutes(routes)
  return (
    <BrowserRouter>
      <El></El>
    </BrowserRouter>
  )
}

export default App
